{template 'admin','header'}
<form action="" method="POST" onsubmit="return r_submit(this);">
    <table cellpadding="2" cellspacing="1" class="table_form">
        <caption>修改校友</caption>
        <tr>
            <th width="20%"><font color="red">*</font><strong>email</strong></th>
            <td>
                <input type="text" id="email" name="email" size="20" value="{$info['email']}"/>
            </td>
        </tr>
        <tr>
            <th width="20%"><font color="red">*</font><strong>用户密码</strong></th>
            <td>
                <input type="password" id="password" name="password" size="20" value=""/>
            </td>
        </tr>
        <tr>
            <th width="20%"><font color="red">*</font><strong>确认密码</strong></th>
            <td>
                <input type="password" id="password2" name="password2" size="20" value=""/>
            </td>
        </tr>
        <tr>
            <th width="20%"><font color="red">*</font><strong>真实姓名</strong></th>
            <td>
                <input type="text" id="truename" name="truename" size="20" value="{$info['truename']}"/>
            </td>
        </tr>
        <tr>
            <th width="20%"><font color="red">*</font><strong>专业班级</strong></th>
            <td>
                {form::type_level_select('types','types','major',$info['class'])}
            </td>
        </tr>
        
        <tr>
            <th width="20%"><strong>联系方式</strong></th>
            <td>
                <input type="text" id="tel" name="tel" size="20" value="{$info['tel']}"/>
            </td>
        </tr>
        <tr>
            <th width="20%"><strong>所在单位</strong></th>
            <td>
                <input type="text" id="department" name="department" size="20" value="{$info['department']}"/>
            </td>
        </tr>
        <tr>
            <th width="20%"><strong>头像照片</strong></th>
            <td>
                {form::image("photo", "photo",$info['photo'])}
                <br/>
                <input type="hidden" name="mid" value="{$info['mid']}">
                <image src="{$info['photo']}" width="200" height="300" border="0">
            </td>
        </tr>
        <tr>
            <th width="20%"><strong>审核通过</strong></th>
            <td>
                {form::radio(array(1=>'未审核',99=>'通过'),'status','status',$info['status'])}
            </td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value=" 确定 " class="button_style">&nbsp;
                <input type="button" class="button_style" onclick="self.location='{urldecode($forward)}'" value=" 返回 ">
            </td>
        </tr>
    </table>
    <input type="hidden" name="forward" value="{$forward}">
</form>
{template 'admin','footer'}
